export const typeOptions = {
  1: '首营',
  2: '背调',
  3: '合同',
  4: '政策',
  9: '其他',
}
// 查询列表
export const tableColumn = [
  {
    label: '时间',
    prop: 'createdAt',
    width: 180,
    align: 'center'
  },
  {
    prop: 'type',
    label: '类别',
    minWidth: 50,
    align: 'center',
    formatter: (row) => {
      return typeOptions[row.type]
    },
  },
  {
    prop: 'content',
    label: '内容',
    minWidth: 180,
    align: 'center',
    'show-overflow-tooltip': true,
  },
  {
    prop: 'operation',
    label: '操作',
    width: 150,
    align: 'center',
    fixed: 'right',
  },
]
// tab
export const toDoTabList = [
  { label: '全部代办', badgeValue: 0, type: 0 },
  { label: '首营', badgeValue: 0, type: 1 },
  { label: '背调', badgeValue: 0, type: 2 },
  { label: '合同', badgeValue: 0, type: 3 },
  { label: '政策', badgeValue: 0, type: 4 },
  { label: '其他', badgeValue: 0, type: 9 },
]

// 更多设置
export const routerListCofig = [
  {
    path: '/todoNoticeSet',
    label: '待办通知设置',
  },
]
